/*
 * @Author: Yeong Lee
 * @Date: 2021-02-15 19:30:21
 * @Last Modified by: Yeong Lee
 * @Last Modified time: 2021-02-28 05:26:16
 */

import React from 'react';
import css from './index.less';

export default ({ totalPage, currentPage }:{totalPage:number, currentPage:number}) =>{
  return (
    <div className={css.pagination}>
      
      <div className={css.page}>
        上一页
      </div>
      <div className={[css.page,css.current].join(' ')}>
        1
      </div>
      <div className={[css.page,css.disabled].join(' ')}>
        2
      </div>
      <div className={css.page}>
        3
      </div>
        ...
      <div className={css.page}>
        下一页
      </div>
    </div>
  );
}